package com.fd.wpx.blog.mapper;

import com.fd.wpx.blog.pojo.ResourceContent;
import com.fd.wpx.blog.pojo.ResourceContentExample;
import com.fd.wpx.blog.pojo.ResourceContentWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ResourceContentMapper {
    int countByExample(ResourceContentExample example);

    int deleteByExample(ResourceContentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ResourceContentWithBLOBs record);

    int insertSelective(ResourceContentWithBLOBs record);

    List<ResourceContentWithBLOBs> selectByExampleWithBLOBs(ResourceContentExample example);

    List<ResourceContent> selectByExample(ResourceContentExample example);

    ResourceContentWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ResourceContentWithBLOBs record, @Param("example") ResourceContentExample example);

    int updateByExampleWithBLOBs(@Param("record") ResourceContentWithBLOBs record, @Param("example") ResourceContentExample example);

    int updateByExample(@Param("record") ResourceContent record, @Param("example") ResourceContentExample example);

    int updateByPrimaryKeySelective(ResourceContentWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ResourceContentWithBLOBs record);

    int updateByPrimaryKey(ResourceContent record);
}